const Koa = require('koa')
const app = new Koa()

const router = require('./app/router')

const parser = require('koa-bodyparser')

app.use(parser())

app.use(router)

app.listen(3000,()=>{
    console.log('服务启动，3000');
})